package org.lds.logger.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.lds.logger.config.appender.Appender;
import org.lds.logger.config.appender.async.AsyncAppenderGroup;
import org.lds.logger.config.level.Level;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Configuration {
    private Level rootLevel;
    /**
     * 同步appender
     */
    private List<Appender> appenderList;

    /**
     * 异步appender
     */
    private AsyncAppenderGroup asyncAppenderGroup;
    private Map<String, String> envProperties;
    private Map<String, Level> loggerLevelMap;
}
